package com.ft.turorial.spring.boot.kafka.message.enums;


public enum MessageType {
    ORDER_PAY_SUCCESS("订单支付成功"),
    ORDER_REFUND_SUCCESS("订单退款成功");

    MessageType(String text){
        this.setText(text);
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    private String text;

    @Override
    public String toString() {
        return this.getText();
    }
}
